<%--
  Created by IntelliJ IDEA.
  User: liliting
  Date: 2021/1/20
  Time: 上午10:54
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
    <form action="/doRegister">
        <input type="text" name="name">
        <br>
        <input type="checkbox" name="hobby" value="JAVA"> java
        <input type="checkbox" name="hobby" value="H5"> h5
        <input type="checkbox" name="hobby" value="python"> python
        <br>
        <input type="submit" value="提交">
    </form>

<hr>
    <form action="/doRegister1" method="post">
        <input type="text" name="u[0].name">
        <br>
        <input type="checkbox" name="u[0].hobby" value="JAVA"> java
        <input type="checkbox" name="u[0].hobby" value="H5"> h5
        <input type="checkbox" name="u[0].hobby" value="python"> python
        <br>

        <hr>
        <input type="text" name="u[1].name">
        <br>
        <input type="checkbox" name="u[1].hobby" value="JAVA"> java
        <input type="checkbox" name="u[1].hobby" value="H5"> h5
        <input type="checkbox" name="u[1].hobby" value="python"> python
        <br>

        <input type="submit" value="提交">

    </form>

</body>
</html>
